# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models

class Migration(SchemaMigration):

    def forwards(self, orm):
        
        # Deleting field 'Map.map_latitude'
        db.delete_column('world_map', 'map_latitude')

        # Deleting field 'Map.map_longitude'
        db.delete_column('world_map', 'map_longitude')

        # Adding field 'Map.latitude'
        db.add_column('world_map', 'latitude', self.gf('django.db.models.fields.DecimalField')(default=-2.4559000000000002, max_digits=6, decimal_places=4), keep_default=False)

        # Adding field 'Map.longitude'
        db.add_column('world_map', 'longitude', self.gf('django.db.models.fields.DecimalField')(default=51.406199999999998, max_digits=6, decimal_places=4), keep_default=False)


    def backwards(self, orm):
        
        # Adding field 'Map.map_latitude'
        db.add_column('world_map', 'map_latitude', self.gf('django.db.models.fields.DecimalField')(default=-2.4559000000000002, max_digits=6, decimal_places=4), keep_default=False)

        # Adding field 'Map.map_longitude'
        db.add_column('world_map', 'map_longitude', self.gf('django.db.models.fields.DecimalField')(default=51.406199999999998, max_digits=6, decimal_places=4), keep_default=False)

        # Deleting field 'Map.latitude'
        db.delete_column('world_map', 'latitude')

        # Deleting field 'Map.longitude'
        db.delete_column('world_map', 'longitude')


    models = {
        'world.map': {
            'Meta': {'object_name': 'Map'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'large_map_zoom': ('django.db.models.fields.IntegerField', [], {'default': '11'}),
            'latitude': ('django.db.models.fields.DecimalField', [], {'default': '-2.4559000000000002', 'max_digits': '6', 'decimal_places': '4'}),
            'longitude': ('django.db.models.fields.DecimalField', [], {'default': '51.406199999999998', 'max_digits': '6', 'decimal_places': '4'}),
            'small_map_zoom': ('django.db.models.fields.IntegerField', [], {'default': '8'})
        }
    }

    complete_apps = ['world']
